FROM node:lts-bookworm AS builder

# 设置代理
ENV HTTPS_PROXY=http://192.168.100.23:7897
ENV NO_PROXY=localhost,127.0.0.1

# 设置中文
RUN apt-get update \
    && apt-get install -y locales-all
ENV LANG=zh_CN.UTF-8
ENV LC_ALL=zh_CN.UTF-8

WORKDIR /workspaces
COPY . .
# RUN npm install 
# RUN npm run build 
EXPOSE 3000
# CMD ["npm", "run", "product"]
